onlanguagechange Event |
This event is fired when a language is changed, when thenewLanguageproperty is set.
Syntax
Inline HTML |
<div cordysType="wcp.library.util.Translator" id="listID" onlanguagechange="handler()"> <div/> </div> |
Event Property |
translator.onlanguagechange = handler |
Event Information
To invoke |
Change the language withnewLanguageproperty. |
Default Action |
Changes the language and initiates any action associated with this event. |
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.
Property |
Description |
---|---|
newLanguage |
Read-only. String that contains the current language into which the component translates all the tags into. |